<template>
	<div class="city">
		<div class="city_top">
			<span>选择城市</span>
			<router-link to="/">
				<button>X</button>
			</router-link>
		</div>
		<Cityson></Cityson>
	</div>
</template>

<script>
	import Cityson from './citypages/Cityson.vue';
	export default{
		name : 'City',
		components: {
			Cityson
		}
	}
</script>

<style scoped>
	.city .city_top{
		width: 100%;
		height: 1.5rem;
		line-height: 1.5rem;
		font-size: 0.4rem;
		text-align: center;
		background-color: #E6C81A;
		position: relative;
	}
	.city .city_top button{
		width: 0.8rem;
		position: absolute;
		right: 0;
		font-size: 0.5rem;
		border: 0;
		background-color: #E6C81A;
		height: 100%;
	}
</style>
